Give\DonationForms\Repositories\DonationFormRepository S

Total Complexity 44
Dependencies 20
Dependents 10
Total lines 488
Lines of code 283
Logical lines of code 115
Comment lines 103
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
insert()
S
42 5 54
getEnabledPaymentGateways()
S
54 7 21
getFormSchemaFromBlocks()
S
50 6 29
update()
S
45 3 44
getGatewayFormSettings()
S
58 3 16
delete()
S
56 2 19
getFormDataGateways()
S
58 2 15
validateProperties()
S
68 3 7
getTotalRevenue()
S
63 2 11
prepareQuery()
S
56 1 19
getDefaultEnabledGatewayId()
S
74 2 4
getTotalNumberOfDonors()
S
64 1 11
getById()
S
74 1 5
getTotalNumberOfDonorsFromSubscriptions()
S
73 1 5
getTotalNumberOfDonations()
S
69 1 7
getTotalNumberOfSubscriptions()
S
74 1 5
getTotalInitialAmountFromSubscriptions()
S
73 1 5
isLegacyForm()
S
80 1 3
__construct()
S
81 1 3